<include target="___setting.html" />

<div class="bd" id="read"|cond="$is_doc">
	<include cond="$is_doc" target="_read.html" />

	<block cond="!$is_doc">
		<div class="hx h2">
			<h2><a href="{$oEntry->getUrl('','vid',$vid,'mid',$mid)}">{$mi->browser_title}</a> <em>[{number_format($total_count)}]</em></h2>
			<a cond="$is_cts" href="{$oEntry->getUrl('page','','act','dispBeluxeMobileCategory','')}" class="ca">
				{$cts[(int)$category_srl]->title}
			</a>
			<a cond="$grant->write_document" href="{$oEntry->getUrl('act','dispBoardWrite','document_srl','')}" class="write">{$lang->cmd_write}</a>
		</div>
		<div cond="$mi->title||$mi->sub_title||$mi->board_desc" class="hx pn">
			<block cond="$mi->title||$mi->sub_title">{$mi->title} | {$mi->sub_title}</block>
			<div cond="$mi->board_desc" class="dc">{$mi->board_desc}</div>
		</div>

		{@
			$lsttp!='list'?$lsttp='webzine':0;
			$oTemplate = &TemplateHandler::getInstance();
			print $oTemplate->compile($tpl_path, '_lst.'.$lsttp.'.html');
		}

		<div cond="$page_navigation" class="pn">
			<a cond="$page != 1" href="{$oEntry->getUrl('document_srl','','comment_srl','','page',$page-1,'division',$division,'last_division',$last_division)}" accesskey="b" class="prev">{$lang->cmd_prev}</a>
			<strong>{$page} / {$page_navigation->last_page}</strong>
			<a cond="$page != $page_navigation->last_page" href="{$oEntry->getUrl('document_srl','','comment_srl','','page',$page+1,'division',$division,'last_division',$last_division)}" accesskey="n" class="next">{$lang->cmd_next}</a>
			<a href="#beluxe" class="lic fr">Board DX</a>
		</div>

		<div class="sh">
			<form action="{$oEntry->getUrl()}" method="get">
				<input type="hidden" name="vid" value="{$vid}" />
				<input type="hidden" name="mid" value="{$mid}" />
				<input type="hidden" name="category" value="{$category}" />
				<span class="tgbn"><a href="{$oEntry->getUrl('act','dispBoardTagList')}" title="{$lang->tag}">&nbsp;</a></span>
				<select name="search_target">
					<option loop="$ci=>$key,$val" cond="$val->search=='Y'" value="{$key}" selected="selected"|cond="$key==$search_target">{$val->name}</option>
					<option cond="$search_target&&$ci[$search_target]->search!='Y'" value="{$search_target}" selected="selected">{Context::getLang($search_target)}</option>
				</select>
				<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" title="{$lang->cmd_search}" />
				<button type="submit" class="shbn" title="{$lang->cmd_search}">Search</button>
			</form>
		</div>

	</block>
</div>
